Blitz (29/640)

From:david white
Date:11 Aug 99 at 18:37:13
Subject:Re: Violation of privilages (thanx)

Hey Curt + David

Thanks for all your help on this... I've got it working now finally.

>>> What exactly are you FreeMem'ing? Is it some additional memory you
>>> allocated?
>>> The bitmap's memory is automatically freed when you FreeBitMap - if you
>>> are trying to free the same memory again, you will definately get a
>>> GURU...

Ah... :) I was never sure about that. I always had the idea that if you
used the Allocmem/cludgebitmap thing to get your bitmaps, you also had to
do a Freemem as well. And without the freemem I was having all sorts of
problems with memory not being freed after the program had ended, gurus
etc..

Doing a freemem <whatever> at the end of my program seemed to sort it out,
at least for the first versions of my program with a smaller display.

When I took the offending freemems away today though, although the privilage
violation guru went away, the forementioned crashes came back :(( , I
eventually tracked this down to the fact that the debugger is absolute
pants :-)

Anyway thanks again :)

Later

---------------------------------------------------------------------------------

==========================================================
= =
= David@tara-1.demon.co.uk =
= #http://www.tara-1.demon.co.uk# =
= =
= A1200T MC68060/50, 16Mb Ram, 2mb AGA, 1.2Gb HD, =
= 2x SCSI CD, 2x 880k floppy, 56k Modem =
= =
==========================================================

Current Projects:

Edgecrusher : Gothic style top down RPG / gore em up (20%)

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie